/*
 * Copyright (c) chb my copyright message. 2022-2023. All rights reserved.
 *
 */

export default {
  filters: {
    date(val) {
      let date = new Date(val)
      let month = date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1
      let day = date.getDate() < 10 ? '0' + (date.getDate()) : date.getDate()
      return `${month}/${day}`
    }
  }
}
